import Vue from 'vue'
import App from './App.vue'
import router from './router'
// Axios
import axios from 'axios'
import VueAxios from 'vue-axios'
// ElementUI
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import './assets/gloable.css'
import request from "@/utils/request"
import api from "@/api/api"

// Vue.prototype.$axios = axios
Vue.prototype.$axios = request
Vue.prototype.$api = api
Vue.prototype.$ysyApi = api.ysyApi

Vue.config.productionTip = false
Vue.use(ElementUI);
Vue.use(VueAxios, axios)
new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
